<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Pragma"   content="no-cache">   
<meta http-equiv="Cache-Control"   content="no-cache">   
<meta http-equiv="Expires"   content="0">   
<title>用户户详细</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath }/resource/form.css">
</head>
<body>
<!--	<form>-->
		<table style="width:100%;height:100%;">
			<tr>
				<td><label>用户编号</label></td>
				<td>
					<form:input path="formBean.bean.id" />
				</td>
			</tr>
			<tr>
				<td><label>用户名称</label></td>
				<td>
					<form:input path="formBean.bean.userName" />
				</td>
			</tr>
			<tr>
				<td><label>用户地址</label></td>
				<td>
					<form:input path="formBean.bean.userAddress" />
				</td>
			</tr>
			<tr>
				<td><label>联系号码</label></td>
				<td>
					<form:input path="formBean.bean.userPhone" />
				</td>
			</tr>
			<tr>
				<td><label>权限列表</label></td>
				<td>
					<form:select path="formBean.bean.roles" class="select">
						<form:options items="${formBean.bean.roles}" itemValue="id" itemLabel="roleName"/>  
					</form:select>
				</td>
			</tr>
			<tr>
				<td><label>备注</label></td>
				<td >
					<form:textarea path="formBean.bean.userNote"  />
				</td>
			</tr>
		</table>
<!--	</form>-->
</body>
</html>